package com.situ.mall.service.Impl;

import com.situ.mall.mapper.CarouselMapper;
import com.situ.mall.pojo.entity.Carousel;
import com.situ.mall.service.ICarouselService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarouselServiceImpl implements ICarouselService {
    @Autowired
    private CarouselMapper carouselMapper;

    @Override
    public List<Carousel> listAll() {
        return carouselMapper.listAll();
    }
}
